package ye.weicheng.ngbatis.demo.pojo.risk;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;


@Table(name = "person")
public class Person {
    @Id
    private String vid;

    //@Column(name = "name")
    private String name;
    //@Column(name = "id_no")
    private String id_no;

    public Person() {
    }

    public Person(String name, String id_no) {
        this.vid = id_no;
        this.name = name;
        this.id_no = id_no;
    }

    public String getVid() {
        return vid;
    }

    public void setVid(String vid) {
        this.vid = vid;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getId_no() {
        return id_no;
    }

    public void setId_no(String id_no) {
        this.id_no = id_no;
    }
}